package com.imut.oa.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName(value ="task")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Task {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String taskName; //任务名称
    private Long assignor;// '发布人',
    private Long assignee; // '负责人',
    private String description; // '任务描述',
    private Integer status;// '任务状态，0:未开始，1:进行中，2:已完成，3:已取消',
    private LocalDateTime createTime; // '创建时间',
    private Long createUser;
    private LocalDateTime updateTime; // '更新时间',
    private Long updateUser;
    private Integer isDelete; //'任务是否被删除'
}
